package kgame5.pbe.atlantic.event {
	import flash.events.Event;

	/**
	 * @author max
	 * 2010-12-14
	 */
	public class ViewEvent extends Event{
	public static const TYPE:String="ViewEvent";
	
	//视图组件用来通知总控制器的
	public static const EOF:String="EOF";
	public static const CLICK:String="CLICK";
	
	//___________________Property_____________________
	
	//这两个，参考pureMVC Inotifycation.getName(),getBody();
	public var name:String;//具体名称
	public var data:Object;//值
	//____________________Method__________________
	public function ViewEvent(p_name:String,p_data:Object=null){
		super(TYPE);
		name=p_name;
		data=p_data;
	}
	public override function clone():Event{
		return new FSMEvent(name,data);
	}
}
}

